import request from '@/utils/request';

export async function query(): Promise<any> {
  return request('/api/users');
}

export async function queryCurrent(): Promise<any> {
  return request('/api/currentUser');
}

export async function queryMenuData(): Promise<any> {
  return request('/api/admin/perm/getPermissions');
}

export async function queryNotices(): Promise<any> {
  return request('/api/admin/notices');
//  return request('/api2/notices');
}
